<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\GoodsAttr
 *
 * @property int $id 自增id
 * @property int $good_id 商品id
 * @property string|null $name 商品属性
 * @property int $stock 库存
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsAttr onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsAttr whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsAttr whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsAttr whereGoodId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsAttr whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsAttr whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsAttr whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsAttr whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsAttr withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsAttr withoutTrashed()
 * @mixin \Eloquent
 */
class GoodsAttr extends Model
{
    protected $table = 'goods_attr';
    use SoftDeletes;
}